<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>相册</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="stylesheets/style.css">
</head>
<body>
    <div class="container-fluid">
        <div class="row">
            <div class="col leftWidth">
                <ul class="list-group">

                  <!-- <li class="list-group-item active">
                      <a href="javascript:;" class="xc" data-name="default">默认</a>
                  </li> -->
                  <!--
                  <li class="list-group-item">
                       <a href="javascript:;" class="xc" data-name="one">第一相册</a>
                  </li>
                   -->
                </ul>
            </div>
            <div class="col">
                <p class="an">
                    <button class="btn btn-outline-secondary btn-sm" type="button" data-toggle="modal" data-target="#addModal">添加相册</button>
                    <input class="btn btn-outline-secondary btn-sm" type="file" id="myfile" value="上传"/>
                    <button class="btn btn-outline-secondary btn-sm upload" type="button" data-toggle="modal">上传</button>
                </p>
                <div class="container">
                    <div class="row photeList">
                        <!-- 图片数据 -->
                        <!--
                        <div class="col-md-2">
                            <div class="card">
                                <img class="card-img-top" src="images/g1.jpg" alt="p_1">
                            </div>
                        </div>
                         -->

                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 添加相册 -->
    <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="addModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="addModalLabel">添加相册</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <input type="text" name="xcname" class="form-control form-control-sm" placeholder="请输入相册名称"/>
          </div>
          <div class="modal-footer">
            <!-- <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button> -->
            <button type="button" class="btn btn-primary btn-sm" id="save">保存</button>
          </div>
        </div>
      </div>
    </div>

    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.14.3/umd/popper.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
    <script src="javascripts/index.js" charset="utf-8"></script>
</body>
</html>
